widgets.IATWoojin.wjRectangleColorize

Widget Description

short: Grafikobjekt
de: Zeichnet ein Quadrat oder Rechteck
en: Draws a rectangle in according to value

Properties

name type description bindable readOnly required defaultValue localizable
colorList String This is List of color. ex) #ffffff,#235323,#395765 true false false aaaaaa false
colorMode Number It will decide mode. (0~5)
- Mode 0
For example, you define indexList="5,10" and colorList="Color1,Color2,Color3"
Show Color1 when value is 5 or below. And show color2 when value is 10 or below, and above 5.
Last color3 is showed when value is above 10.
- Mode 1
For example, you define colorList="Color1,Color2" indexList="Point1,Point2"
Backcolor will be change to Color2 from Color1 with overlap, during that value is changed to Point2 from Point1.
- Mode 2
For example, you define indexList="5,10" and colorList="Color1,Color2,Color3"
Show Color1 when value is 5. and show color2 when value is 10.
Last color3 is showed when value is else.
Also you don't have to input color3. In this case, display 'gray' instead of color3.
- Mode 3
This mode is same to 'Mode 0'. But draw rectangle with gradient.
- Mode 4
This mode is same to 'Mode 1'. But draw rectangle with gradient.
- Mode 5
This mode is same to 'Mode 2'. But draw rectangle with gradient.
true false false 0 false
enable Boolean Initial option to enable widget. true false false true false
indexList String This is List of index. ex) 0,100,200 true false false null false
permissionOperate RoleCollection restricts operability to users, which have given roles false false false false
permissionView RoleCollection restricts visibility to users, which have given roles false false false false
style StyleReference reference to a style for this widget type true false false default false
tabIndex Integer sets if a widget should have autofocus enabled (0), the order of the focus (>0), or if autofocus should be disabled (-1) false false false -1 false
tooltip String reference to a tooltip for a widget false false false true
value Number valus is Value? true false false 0 false
visible Boolean change visibility true false false true false
zIndex UInteger The zIndex property specifies the z-order of a widget and its childs.
When widgets overlap, z-order determines which one covers the other. A widget with a larger zIndex generally covers a widget with a lower one.
The zIndex must be unique within a content.
false false true false
left Integer absolute position measured from left boundary of parent container false false false false
top Integer absolute position measured from top boundary of parent container false false false false
height Size outer height of widget false false false 10 false
width Size outer width of widget false false false 10 false

Styleable Properties

name type description defaultValue
borderStyle BorderStyle solid
borderWidth PixelVal 0px
cornerRadius PixelVal 0px
lineColor Color transparent
fillColor Color transparent
opacity Opacity 1
rotation Rotation 0deg
margin Margin 0px 0px 0px 0px
shadow Shadow none
backGroundGradient Gradient linear-gradient(to bottom, #ffffff 0%,#ffffff 50%,#ffffff 100%)
lineGradient Gradient linear-gradient(to bottom, #ffffff 0%,#ffffff 50%,#ffffff 100%)